#!/bin/bash
datetime=`date +%Y%m%d.%H%M%S`
reposlog="logs/"
jars=".:lib/commons-httpclient-3.0.1.jar:lib/commons-logging-1.0.4.jar:lib/junit-3.8.1.jar:lib/log4j-1.2.15.jar:lib/mysql-connector-java-5.1.6-bin.jar:./repository.jar"
if [ -f $reposlog ]; then
    mkdir logs
fi
java -Xms256m -Xmx256m -classpath $jars junit.textui.TestRunner com.oromwin.repos.AllTests > $reposlog/repository-$datetime.log
